package org.jimmy.tang.methodinterceptor;

/**
 * @author jimmy
 * 
 */
public class WorkerBean {
    public void doSomeWork1(int noOfTimes) {
        for (int x = 0; x < noOfTimes; x++) {
            work();
        }
    }

    public void doSomeWork2(int noOfTimes) {
        for (int x = 0; x < noOfTimes; x++) {
            work();
        }
    }

    private void work() {
        System.out.print("");
    }
}
